

const ui = {

}

const install = function(Vue, opts = {}) {

  Object.keys(ui).forEach((key) => {
    Vue.component(ui[key].name, ui[key]);
  });
};

if (typeof window !== 'undefined' && window.Vue) {
  install(window.Vue);
}

export default Object.assign(ui, {install});
